9.8
CRITICAL CVSS 3.1
CVE-2024-12084
"rsync Daemon Heap-Based Buffer Overflow Vulnerability"
Description

A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.

INFO

Published Date :

Jan. 15, 2025, 3:15 p.m.

Last Modified :

July 8, 2025, 4:15 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-12084 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
1 Samba rsync
1 Gentoo linux
1 Gnu grub2
1 Libssh libssh
1 Novell suse_linux
1 Nixos nixos
1 Unicode international_components_for_unicode
1 Archlinux arch_linux
1 Tritondatacenter smartos
1 Almalinux almalinux
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL [email protected]
Solution
A heap-based buffer overflow vulnerability exists in rsync; to remediate, update to the latest available version.
  • Update the rsync package.
  • Upgrade to a non-vulnerable version.
Public PoC/Exploit Available at Github

CVE-2024-12084 has a 6 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-12084.

URL Resource
https://access.redhat.com/errata/RHBA-2025:6470
https://access.redhat.com/security/cve/CVE-2024-12084 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2330527 Issue Tracking Third Party Advisory
https://kb.cert.org/vuls/id/952657 Third Party Advisory
http://www.openwall.com/lists/oss-security/2025/01/14/6 Mailing List Third Party Advisory
https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj Exploit Vendor Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-12084 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-12084 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.

cyber zero-day

Updated: 6 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Jan. 29, 2025, 8:44 p.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 2 months, 1 week ago
4 stars 3 fork 3 watcher
Born at : Jan. 21, 2025, 2:13 a.m. This repo has been linked 1 different CVEs too.

我的RPM库

Updated: 1 month, 1 week ago
16 stars 1 fork 1 watcher
Born at : Nov. 9, 2024, 9:08 a.m. This repo has been linked 11 different CVEs too.

Toolkit for k8s administrators/developers.

Dockerfile Shell

Updated: 3 months ago
1 stars 0 fork 0 watcher
Born at : July 10, 2022, 10:30 p.m. This repo has been linked 181 different CVEs too.

Ostorlab KEV: One-command to detect most remotely known exploitable vulnerabilities. Sourced from CISA KEV, Google's Tsunami, Ostorlab's Asteroid and Bug Bounty programs.

cisa-kev vulnerability 0day cisa exploits

Updated: 2 weeks, 3 days ago
581 stars 42 fork 42 watcher
Born at : April 19, 2022, 8:58 a.m. This repo has been linked 1287 different CVEs too.

Archived EGI SVG Advisories

Updated: 5 days, 4 hours ago
1 stars 1 fork 1 watcher
Born at : Oct. 8, 2021, 2:26 p.m. This repo has been linked 17 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-12084 vulnerability anywhere in the article.

  • CybersecurityNews
GitLab Vulnerabilities Let Attackers Execute Actions by Injecting Malicious Content

GitLab has released critical security patches across multiple versions to address several high-severity vulnerabilities that could allow attackers to execute unauthorized actions through malicious con ... Read more

Published Date: Jul 10, 2025 (1 month, 2 weeks ago)
  • Daily CyberSecurity
GitLab Releases Security Updates: XSS and Authorization Bypass Flaws Patched

GitLab has released security updates for its Community Edition (CE) and Enterprise Edition (EE), addressing multiple vulnerabilities that could allow attackers to perform cross-site scripting (XSS) at ... Read more

Published Date: Jul 10, 2025 (1 month, 2 weeks ago)
  • BleepingComputer
QNAP fixes six Rsync vulnerabilities in NAS backup, recovery app

QNAP has fixed six rsync vulnerabilities that could let attackers gain remote code execution on unpatched Network Attached Storage (NAS) devices. Rsync is an open-source file synchronization tool that ... Read more

Published Date: Jan 23, 2025 (7 months ago)
  • security.nl
'Nederland telt ruim tweehonderd kwetsbare rsync-servers, wereldwijd 17.000'

Nederland telt ruim tweehonderd servers die een kwetsbare versie van rsync draaien. Wereldwijd gaat het om ruim 17.000 installaties, zo stelt The Shadowserver Foundation op basis van eigen onderzoek. ... Read more

Published Date: Jan 17, 2025 (7 months, 1 week ago)
  • BleepingComputer
Over 660,000 Rsync servers exposed to code execution attacks

Over 660,000 exposed Rsync servers are potentially vulnerable to six new vulnerabilities, including a critical-severity heap-buffer overflow flaw that allows remote code execution on servers. Rsync is ... Read more

Published Date: Jan 15, 2025 (7 months, 1 week ago)
  • Help Net Security
Rsync vulnerabilities allow remote code execution on servers, patch quickly!

Six vulnerabilities have been fixed in the newest versions of Rsync (v3.4.0), two of which could be exploited by a malicious client to achieve arbitrary code execution on a machine with a running Rsyn ... Read more

Published Date: Jan 15, 2025 (7 months, 1 week ago)
  • security.nl
Rsync-kwetsbaarheden laten aanvaller willekeurige code op server uitvoeren

De populaire back-up- en synchronisatiesoftware rsync bevat zes verschillende kwetsbaarheden die een aanvaller in het ergste geval willekeurige code op een rsync-server laten uitvoeren. Gebruikers en ... Read more

Published Date: Jan 15, 2025 (7 months, 1 week ago)

The following table lists the changes that have been made to the CVE-2024-12084 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    Jul. 08, 2025

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHBA-2025:6470
  • Initial Analysis by [email protected]

    Jun. 18, 2025

    Action Type Old Value New Value
    Added CWE CWE-787
    Added CPE Configuration OR *cpe:2.3:a:samba:rsync:3.2.7:-:*:*:*:*:*:* *cpe:2.3:a:samba:rsync:3.3.0:-:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:almalinux:almalinux:10.0:-:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:archlinux:arch_linux:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:gentoo:linux:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:nixos:nixos:*:*:*:*:*:*:*:* versions up to (excluding) 24.11 *cpe:2.3:o:nixos:nixos:24.11:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:novell:suse_linux:-:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:tritondatacenter:smartos:*:*:*:*:*:*:*:* versions up to (excluding) 20250123
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
    Added Reference Type CVE: http://www.openwall.com/lists/oss-security/2025/01/14/6 Types: Mailing List, Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2024-12084 Types: Third Party Advisory
    Added Reference Type Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2330527 Types: Issue Tracking, Third Party Advisory
    Added Reference Type CISA-ADP: https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj Types: Exploit, Vendor Advisory
    Added Reference Type Red Hat, Inc.: https://kb.cert.org/vuls/id/952657 Types: Third Party Advisory
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Feb. 26, 2025

    Action Type Old Value New Value
    Added Reference https://github.com/google/security-research/security/advisories/GHSA-p5pg-x43v-mvqj
  • New CVE Received by [email protected]

    Jan. 15, 2025

    Action Type Old Value New Value
    Added Description A heap-based buffer overflow flaw was found in the rsync daemon. This issue is due to improper handling of attacker-controlled checksum lengths (s2length) in the code. When MAX_DIGEST_LEN exceeds the fixed SUM_LENGTH (16 bytes), an attacker can write out of bounds in the sum2 buffer.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Added CWE CWE-122
    Added Reference https://access.redhat.com/security/cve/CVE-2024-12084
    Added Reference https://bugzilla.redhat.com/show_bug.cgi?id=2330527
    Added Reference https://kb.cert.org/vuls/id/952657
  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Jan. 15, 2025

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2025/01/14/6
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 9.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact